@echo off


set BUILDDIR=%MODE%%ADDRESSMODEL%
if not exist %BUILDDIR% ( mkdir %BUILDDIR% )
cd %BUILDDIR%

cmake  -G "%GENERATOR%%SUFFIX%" ^
       -T "%TOOLSET%" ^
       -DCMAKE_C_COMPILER_WORKS=true ^
       -DCMAKE_CXX_COMPILER_WORKS=true ^
       -DCMAKE_BUILD_TYPE=%MODE% ^
       -DMY_AMODEL=%ADDRESSMODEL% ^
       -DUNIT_TEST_MODE=%UNITTESTMODE% ^
        %SOURCE_DIRECTORY%

cd..

exit/b

          

